package com.dd.cloud.user.entity.pres;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Lx
 * @version 1.0
 */
@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Table(comment = "处方审核记录表")
public class PresReviewRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Column(comment = "id", isKey = true, isAutoIncrement = true)
    private Integer id;

    /**
     * 处方编号
     */
    @Column(comment = "处方编号", length = 30)
    private String tencode;

    /**
     * 操作人id
     */
    @Column(comment = "操作人id")
    private Integer operId;

    /**
     * 操作人类型 同登录类型
     */
    @Column(comment = "操作人类型 同登录类型")
    private Integer operType;

    /**
     * 审核状态
     */
    @Column(comment = "审核状态")
    private Integer status;

    /**
     * 审核消息
     */
    @Column(comment = "审核消息", length = 200)
    private String reviewMsg;

    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime createDate;
}
